package com.inno.subject.domain.convert;

import com.inno.subject.domain.entity.SubjectCollectBO;
import com.inno.subject.infra.basic.entity.PlannerSubjectCollect;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCollectConverter {
    SubjectCollectConverter INSTANCE = Mappers.getMapper(SubjectCollectConverter.class);

    PlannerSubjectCollect convertBOToEntity(SubjectCollectBO subjectCollectBO);

    List<SubjectCollectBO> convertEntityListToBOList(List<PlannerSubjectCollect> result);
}
